package com.rede.didiok.user.modulelist.pay.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.rede.didiok.common.dao.SuperDao;
import com.rede.didiok.common.dto.pay.OrderAmountLogDto;
import com.rede.didiok.user.modulelist.pay.entity.OrderAmountLogEntity;

/**
 * 订单流水表 Mapper 接口
 *
 * @author 陌溪
 * @date 2023年8月2日20:36:08
 */
@Mapper
public interface OrderAmountLogDao extends SuperDao<OrderAmountLogEntity> {

    /**
     * 获取用户金额
     *
     * @param orderAmountLogVO
     * @return
     */
    Long getUserAmount(@Param("orderAmountLogDto") OrderAmountLogDto orderAmountLogDto);
}
